<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 	xmlns="http://www.w3.org/1999/xhtml"
    	xmlns:ui="http://java.sun.com/jsf/facelets"
    	xmlns:f="http://java.sun.com/jsf/core"
    	xmlns:h="http://java.sun.com/jsf/html"
    	xmlns:p="http://primefaces.org/ui"
    	xmlns:s="http://www.suricattus.com.br/jsf/ui"
		xmlns:sf="http://www.suricattus.com.br/jsf/fn"
		xmlns:ec="http://www.b2cexpress.com.br/ecommerce"
    	xmlns:composite="http://java.sun.com/jsf/composite">
    	
	<composite:interface>
	</composite:interface>

	<composite:implementation>
		<p:outputPanel autoUpdate="true">
			<p:fieldset rendered="#{sf:hasGlobalMessages()}">
				<p:dialog visible="true" modal="true" widgetVar="_dgMessage" header="Mensagem" resizable="false" draggable="false" width="600" minHeight="150">
					<div>
						<ec:messages globalOnly="true" layout="table"/>
					</div>
					<br/>
					<div align="center">
						<a onclick="_dgMessage.hide()" class="btn btn-primary">
							<i class="icon-ok icon-white"></i>
							<h:outputText value="#{labels['botao.fechar']}" />
						</a>
					</div>
				</p:dialog>
			</p:fieldset>
		</p:outputPanel>
		
	</composite:implementation>

</html>
